<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>SetStoreCapslockMode</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link href="../static/theme.css" rel="stylesheet" type="text/css" />
<script src="../static/content.js" type="text/javascript"></script>
</head>
<body>

<h1>SetStoreCapslockMode</h1>

<p>Whether to restore the state of CapsLock after a <a href="Send.htm">Send</a>.</p>

<pre class="Syntax">SetStoreCapslockMode, On|Off</pre>
<h3>Parameters</h3>
<dl>

  <dt>On|Off</dt>
  <dd><p><strong>On</strong>: This is the initial setting for all scripts: The CapsLock key will be restored to its former value if <a href="Send.htm">Send</a> needed to change it temporarily for its operation.</p>
    <p><strong>Off</strong>: The state of the CapsLock key is not changed at all. As a result, <a href="Send.htm">Send</a> will invert the case of the characters if Capslock happens to be ON during the operation.</p></dd>

</dl>

<h3>Remarks</h3>
<p>This means that the Capslock key will not always be turned off for <a href="Send.htm">Send</a> and <a href="ControlSend.htm">ControlSend</a>. Even when it is successfully turned off, it might not get turned back on after the keys are sent.</p>
<p>This command is rarely used because the default behavior is best in most cases.</p>
<p>Every newly launched <a href="../misc/Threads.htm">thread</a> (such as a <a href="../Hotkeys.htm">hotkey</a>, <a href="Menu.htm">custom menu item</a>, or <a href="SetTimer.htm">timed</a> subroutine) starts off fresh with the default setting for this command. That default may be changed by using this command in the auto-execute section (top part of the script).</p>
<h3>Related</h3>
<p><a href="SetNumScrollCapsLockState.htm">SetCaps/Num/ScrollLockState</a>, <a href="Send.htm">Send</a>, <a href="ControlSend.htm">ControlSend</a></p>
<h3>Example</h3>
<pre class="NoIndent">SetStoreCapslockMode, off</pre>

</body>
</html>
